import type { IPageQuery } from '@/api/types';

// 查询条件
export type VehicleScheduleQuery = IPageQuery & {
    title?: string;
    startTimeStart?: string;
    startTimeEnd?: string;
    endTimeStart?: string;
    endTimeEnd?: string;
    time1Start?: string;
    time1End?: string;
    time2Start?: string;
    time2End?: string;
    time3Start?: string;
    time3End?: string;
    scheduleType?: string;
};

// 编辑form表单
export type VehicleScheduleForm = {
    id?: number;
    title?: string;
    sort?: number;
    startTime?: string;
    endTime?: string;
    time1?: string;
    time2?: string;
    time3?: string;
    scheduleType?: string;
};

// list或detail返回结构
export type VehicleScheduleRow = {
    id?: number;
    title?: string;
    sort?: number;
    startTime?: string;
    endTime?: string;
    createTime?: string;
    updateTime?: string;
    createId?: number;
    updateId?: number;
    time1?: string;
    time2?: string;
    time3?: string;
    scheduleType?: string;
};

